/*
 * Aspire Hearthstone
 * Copyright (C) 2008 - 2009 AspireDev <http://www.aspiredev.org/>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

#ifndef __WORLD_STATES_H
#define __WORLD_STATES_H

/**
 * EOTS (Eye Of The Storm) World States
 */

// control points - draenei ruins
#define WORLDSTATE_EOTS_DRAENEI_RUINS_NETURAL_DISPLAY			2731
#define WORLDSTATE_EOTS_DRAENEI_RUINS_ALLIANCE_DISPLAY			2732
#define WORLDSTATE_EOTS_DRAENEI_RUINS_HORDE_DISPLAY				2733

// control points - mage tower
#define WORLDSTATE_EOTS_MAGE_TOWER_NETURAL_DISPLAY				2728
#define WORLDSTATE_EOTS_MAGE_TOWER_HORDE_DISPLAY				2729
#define WORLDSTATE_EOTS_MAGE_TOWER_ALLIANCE_DISPLAY				2730

// control points - fel reaver ruins
#define WORLDSTATE_EOTS_FELREAVER_RUINS_NETURAL_DISPLAY			2725
#define WORLDSTATE_EOTS_FELREAVER_RUINS_ALLIANCE_DISPLAY		2726
#define WORLDSTATE_EOTS_FELREAVER_RUINS_HORDE_DISPLAY			2727

// control points - blood elf tower
#define WORLDSTATE_EOTS_BLOODELF_TOWER_NEUTRAL_DISPLAY			2722
#define WORLDSTATE_EOTS_BLOODELF_TOWER_ALLIANCE_DISPLAY			2723
#define WORLDSTATE_EOTS_BLOODELF_TOWER_HORDE_DISPLAY			2724

// flag
#define WORLDSTATE_EOTS_FLAG_NEUTRAL_DISPLAY					2757

// displays
#define WORLDSTATE_EOTS_ALLIANCE_VICTORY_POINTS_DISPLAY			2769
#define WORLDSTATE_EOTS_HORDE_VICTORY_POINTS_DISPLAY			2770
#define WORLDSTATE_EOTS_ALLIANCE_VICTORYPOINTS					2749
#define WORLDSTATE_EOTS_HORDE_VICTORYPOINTS						2750
#define WORLDSTATE_EOTS_ALLIANCE_BASES							2752
#define WORLDSTATE_EOTS_HORDE_BASES								2753

/**
 * WGS World States
 */

#define WORLDSTATE_WSG_ALLIANCE_FLAG_DISPLAY					0x922
#define WORLDSTATE_WSG_HORDE_FLAG_DISPLAY						0x923
#define WORLDSTATE_WSG_HORDE_SCORE								0x62E
#define WORLDSTATE_WSG_ALLIANCE_SCORE							0x62D
#define WORLDSTATE_WSG_MAX_SCORE								0x641

/**
 * AB World States
 */

#define WORLDSTATE_AB_ALLIANCE_RESOURCES						0x6F0
#define WORLDSTATE_AB_HORDE_RESOURCES							0x6F1
#define WORLDSTATE_AB_HORDE_CAPTUREBASE							0x6F2
#define WORLDSTATE_AB_ALLIANCE_CAPTUREBASE						0x6F3
#define WORLDSTATE_AB_MAX_SCORE									0x6F4
// AB define's
#define WORLDSTATE_AB_CAPTURED_STABLES_ALLIANCE					0x6E7 //1767
#define WORLDSTATE_AB_CAPTURED_STABLES_HORDE					0x6E8 //1768
#define WORLDSTATE_AB_CAPTURING_STABLES_ALLIANCE				0x6E9 //1769
#define WORLDSTATE_AB_CAPTURING_STABLES_HORDE					0x6EA //1770
// 0x6EB is unknown
#define WORLDSTATE_AB_CAPTURED_FARM_ALLIANCE					0x6EC //1772 // 1 is captured by the alliance
#define WORLDSTATE_AB_CAPTURED_FARM_HORDE						0x6ED // 1773 / 1 is captured by the horde
#define WORLDSTATE_AB_CAPTURING_FARM_ALLIANCE					0x6EE // 1774 1 is capturing by the alliance
#define WORLDSTATE_AB_CAPTURING_FARM_HORDE						0x6EF // 1775 1 is capturing by the horde

#define WORLDSTATE_AB_CAPTURED_BLACKSMITH_ALLIANCE				0x6F6 // 1782
#define WORLDSTATE_AB_CAPTURED_BLACKSMITH_HORDE					0x6F7 //1783
#define WORLDSTATE_AB_CAPTURING_BLACKSMITH_ALLIANCE				0x6F8 //1784
#define WORLDSTATE_AB_CAPTURING_BLACKSMITH_HORDE				0x6F9 //1785
// 0x6FA is unknown
#define WORLDSTATE_AB_CAPTURED_GOLDMINE_ALLIANCE				0x6FB //1787
#define WORLDSTATE_AB_CAPTURED_GOLDMINE_HORDE					0x6FC//1788
#define WORLDSTATE_AB_CAPTURING_GOLDMINE_ALLIANCE				0x6FD//1789
#define WORLDSTATE_AB_CAPTURING_GOLDMINE_HORDE					0x6FE//1790
// 0x6FF is unknown
#define WORLDSTATE_AB_CAPTURED_LUMBERMILL_ALLIANCE				0x700//1792
#define WORLDSTATE_AB_CAPTURED_LUMBERMILL_HORDE					0x701//1793
#define WORLDSTATE_AB_CAPTURING_LUMBERMILL_ALLIANCE				0x702//1794
#define WORLDSTATE_AB_CAPTURING_LUMBERMILL_HORDE				0x703//1795

#define WORLDSTATE_AB_SHOW_STABLE_ICON							0x732//1842
#define WORLDSTATE_AB_SHOW_GOLDMINE_ICON						0x733//1843
#define WORLDSTATE_AB_SHOW_LUMBERMILL_ICON						0x734//1844
#define WORLDSTATE_AB_SHOW_FARM_ICON							0x735//1845
#define WORLDSTATE_AB_SHOW_BACKSMITH_ICON						0x736//1846

/**
 * Arena World States
 */
#define WORLDSTATE_ARENA_BLADESEDGE_GREEN_PLAYER_COUNT			2544
#define WORLDSTATE_ARENA_BLADESEDGE_GOLD_PLAYER_COUNT			2545
#define WORLDSTATE_ARENA_BLADESEDGE_SCORE_SHOW					2547

#define WORLDSTATE_ARENA_NAGRAND_GREEN_PLAYER_COUNT				2576
#define WORLDSTATE_ARENA_NAGRAND_GOLD_PLAYER_COUNT				2575
#define WORLDSTATE_ARENA_NAGRAND_SCORE_SHOW						2577

#define WORLDSTATE_ARENA_LORDAERON_GREEN_PLAYER_COUNT			3001
#define WORLDSTATE_ARENA_LORDAERON_GOLD_PLAYER_COUNT			3000
#define WORLDSTATE_ARENA_LORDAERON_SCORE_SHOW					3002

#define WORLDSTATE_ARENA_WOTLK_GREEN_PLAYER_COUNT				3600
#define WORLDSTATE_ARENA_WOTLK_GOLD_PLAYER_COUNT				3601
#define WORLDSTATE_ARENA_WOTLK_SCORE_SHOW						3610

/**
* AV World States
*/

#define WORLDSTATE_AV_ALLIANCE_SCORE								3127
#define WORLDSTATE_AV_HORDE_SCORE									3128
#define WORLDSTATE_AV_ALLIANCE_SCORE_DISPLAY						3133
#define WORLDSTATE_AV_HORDE_SCORE_DISPLAY							3134

#define WORLDSTATE_AV_STORMPIKE_AID_STATION_ALLIANCE_CONTROLLED		1325
#define WORLDSTATE_AV_STORMPIKE_AID_STATION_HORDE_CONTROLLED		1327
#define WORLDSTATE_AV_STORMPIKE_AID_STATION_ALLIANCE_ASSAULTING		1326
#define WORLDSTATE_AV_STORMPIKE_AID_STATION_HORDE_ASSAULTING		1328

#define WORLDSTATE_AV_STORMPIKE_GRAVE_ALLIANCE_CONTROLLED			1333
#define WORLDSTATE_AV_STORMPIKE_GRAVE_HORDE_CONTROLLED				1334
#define WORLDSTATE_AV_STORMPIKE_GRAVE_ALLIANCE_ASSAULTING			1335
#define WORLDSTATE_AV_STORMPIKE_GRAVE_HORDE_ASSAULTING				1336

#define WORLDSTATE_AV_STONEHEARTH_GRAVE_ALLIANCE_CONTROLLED			1302
#define WORLDSTATE_AV_STONEHEARTH_GRAVE_HORDE_CONTROLLED			1301
#define WORLDSTATE_AV_STONEHEARTH_GRAVE_ALLIANCE_ASSAULTING			1304
#define WORLDSTATE_AV_STONEHEARTH_GRAVE_HORDE_ASSAULTING			1303

#define WORLDSTATE_AV_SNOWFALL_GRAVE_NEUTRAL_CONTROLLED				1966
#define WORLDSTATE_AV_SNOWFALL_GRAVE_ALLIANCE_CONTROLLED			1341
#define WORLDSTATE_AV_SNOWFALL_GRAVE_HORDE_CONTROLLED				1342
#define WORLDSTATE_AV_SNOWFALL_GRAVE_ALLIANCE_ASSAULTING			1343
#define WORLDSTATE_AV_SNOWFALL_GRAVE_HORDE_ASSAULTING				1344

#define WORLDSTATE_AV_IRONDEEP_MINE_ALLIANCE_CONTROLLED				1358
#define WORLDSTATE_AV_IRONDEEP_MINE_HORDE_CONTROLLED				1359
#define WORLDSTATE_AV_IRONDEEP_MINE_TROGG_CONTROLLED				1360

#define WORLDSTATE_AV_COLDTOOTH_MINE_ALLIANCE_CONTROLLED			1355
#define WORLDSTATE_AV_COLDTOOTH_MINE_HORDE_CONTROLLED				1356
#define WORLDSTATE_AV_COLDTOOTH_MINE_KOBOLD_CONTROLLED				1357

#define WORLDSTATE_AV_ICEBLOOD_GRAVE_ALLIANCE_CONTROLLED			1346
#define WORLDSTATE_AV_ICEBLOOD_GRAVE_HORDE_CONTROLLED				1347
#define WORLDSTATE_AV_ICEBLOOD_GRAVE_ALLIANCE_ASSAULTING			1348
#define WORLDSTATE_AV_ICEBLOOD_GRAVE_HORDE_ASSAULTING				1349

#define WORLDSTATE_AV_FROSTWOLF_GRAVE_ALLIANCE_CONTROLLED			1337
#define WORLDSTATE_AV_FROSTWOLF_GRAVE_HORDE_CONTROLLED				1338
#define WORLDSTATE_AV_FROSTWOLF_GRAVE_ALLIANCE_ASSAULTING			1339
#define WORLDSTATE_AV_FROSTWOLF_GRAVE_HORDE_ASSAULTING				1340

#define WORLDSTATE_AV_FROSTWOLF_RELIEF_HUT_ALLIANCE_CONTROLLED		1329
#define WORLDSTATE_AV_FROSTWOLF_RELIEF_HUT_HORDE_CONTROLLED			1330
#define WORLDSTATE_AV_FROSTWOLF_RELIEF_HUT_ALLIANCE_ASSAULTING		1331
#define WORLDSTATE_AV_FROSTWOLF_RELIEF_HUT_HORDE_ASSAULTING			1332

#define WORLDSTATE_AV_DUN_BALDAR_SOUTH_BUNKER_CONTROLLED			1362
#define WORLDSTATE_AV_DUN_BALDAR_SOUTH_BUNKER_DESTROYED				1371
#define WORLDSTATE_AV_DUN_BALDAR_SOUTH_BUNKER_ASSAULTING			1379

#define WORLDSTATE_AV_DUN_BALDAR_NORTH_BUNKER_CONTROLLED			1361
#define WORLDSTATE_AV_DUN_BALDAR_NORTH_BUNKER_DESTROYED				1370
#define WORLDSTATE_AV_DUN_BALDAR_NORTH_BUNKER_ASSAULTING			1378

#define WORLDSTATE_AV_ICEWING_BUNKER_CONTROLLED						1363
#define WORLDSTATE_AV_ICEWING_BUNKER_DESTROYED						1372
#define WORLDSTATE_AV_ICEWING_BUNKER_ASSAULTING						1380

#define WORLDSTATE_AV_STONEHEARTH_BUNKER_CONTROLLED					1364
#define WORLDSTATE_AV_STONEHEARTH_BUNKER_DESTROYED					1373
#define WORLDSTATE_AV_STONEHEARTH_BUNKER_ASSAULTING					1381

#define WORLDSTATE_AV_ICEBLOOD_TOWER_CONTROLLED						1385
#define WORLDSTATE_AV_ICEBLOOD_TOWER_DESTROYED						1368
#define WORLDSTATE_AV_ICEBLOOD_TOWER_ASSAULTING						1390

#define WORLDSTATE_AV_TOWERPOINT_CONTROLLED							1384
#define WORLDSTATE_AV_TOWERPOINT_DESTROYED							1367
#define WORLDSTATE_AV_TOWERPOINT_ASSAULTING							1389

#define WORLDSTATE_AV_FROSTWOLF_EAST_TOWER_CONTROLLED				1383
#define WORLDSTATE_AV_FROSTWOLF_EAST_TOWER_DESTROYED				1366
#define WORLDSTATE_AV_FROSTWOLF_EAST_TOWER_ASSAULTING				1388

#define WORLDSTATE_AV_FROSTWOLF_WEST_TOWER_CONTROLLED				1382
#define WORLDSTATE_AV_FROSTWOLF_WEST_TOWER_DESTROYED				1365
#define WORLDSTATE_AV_FROSTWOLF_WEST_TOWER_ASSAULTING				1387

/**
 * Common World States
 */
#define WORLDSTATE_EOTS_PVP_CAPTURE_BAR_DISPLAY					2718
#define WORLDSTATE_EOTS_PVP_CAPTURE_BAR_VALUE					2719

/**
* Battleground
* Strand of the Ancients
*/

// Progress bar
#define WORLDSTATE_SOTA_CAPTURE_BAR_DISPLAY					3536
#define WORLDSTATE_SOTA_CAPTURE_BAR_VALUE					3537

// Attacker - Defender, they are same
#define WORLDSTATE_SOTA_ALLIANCE_ATTACKER					3564
#define WORLDSTATE_SOTA_HORDE_DEFENDER						3564

#define WORLDSTATE_SOTA_ALLIANCE_DEFENDER					3565
#define WORLDSTATE_SOTA_HORDE_ATTACKER						3565

// Timers
#define WORLDSTATE_SOTA_BONUS_TIME					3571
#define WORLDSTATE_SOTA_TIMER_1						3559 //first digit
#define WORLDSTATE_SOTA_TIMER_2						3560 //second digit
#define WORLDSTATE_SOTA_TIMER_3						3561 //third digit

/**
 * World PvP
 * Hellfire Peninsula
 */

// Tower Counter Value
#define WORLDSTATE_HELLFIRE_ALLIANCE_TOWERS_CONTROLLED			2476
#define WORLDSTATE_HELLFIRE_HORDE_TOWERS_CONTROLLED				2478

// Tower Counter Display
#define WORLDSTATE_HELLFIRE_TOWER_DISPLAY_ALLIANCE				2490
#define WORLDSTATE_HELLFIRE_TOWER_DISPLAY_HORDE					2489

// PvP Capture Bar
#define WORLDSTATE_HELLFIRE_PVP_CAPTURE_BAR_DISPLAY				2473
#define WORLDSTATE_HELLFIRE_PVP_CAPTURE_BAR_VALUE				2474

// The Stadium Control Point
#define WORLDSTATE_HELLFIRE_STADIUM_NEUTRAL						2472
#define WORLDSTATE_HELLFIRE_STADIUM_ALLIANCE					2471
#define WORLDSTATE_HELLFIRE_STADIUM_HORDE						2470

// The Overlook Control Point
#define WORLDSTATE_HELLFIRE_OVERLOOK_NEUTRAL					2482
#define WORLDSTATE_HELLFIRE_OVERLOOK_ALLIANCE					2480
#define WORLDSTATE_HELLFIRE_OVERLOOK_HORDE						2481

// Broken Hill Control Point
#define WORLDSTATE_HELLFIRE_BROKENHILL_NEUTRAL					2485
#define WORLDSTATE_HELLFIRE_BROKENHILL_ALLIANCE					2483
#define WORLDSTATE_HELLFIRE_BROKENHILL_HORDE					2484

// Zone ID, used in many places.
#define ZONE_HELLFIRE_PENINSULA									3483

/**
 * World PvP
 * Nagrand/Halaa
 */

// Guard Display
#define WORLDSTATE_HALAA_GUARD_DISPLAY_ALLIANCE					2502
#define WORLDSTATE_HALAA_GUARD_DISPLAY_HORDE					2503

// Guard Fields
#define WORLDSTATE_HALAA_GUARDS_REMAINING						2491
#define WORLDSTATE_HALAA_GUARDS_REMAINING_MAX					3493

// Zone ID
#define ZONE_NAGRAND											3518

/**
* World PvP
* Silithus
*/
#define ZONE_SILITHUS 1377

#define WORLDSTATE_SILITHUS_GATHERED_ALLIANCE 2313
#define WORLDSTATE_SILITHUS_GATHERED_HORDE 2314
//really not needed
#define WORLDSTATE_SILITHUS_SILITHYST_MAX 2317

/**
 * World PvP
 * Zangarmarsh 
 */

#define ZONE_ZANGARMARSH										3521

// tower stuff
#define WORLDSTATE_ZANGARMARSH_EAST_NEUTRAL_MAP					2652
#define WORLDSTATE_ZANGARMARSH_EAST_ALLIANCE_MAP				2650
#define WORLDSTATE_ZANGARMARSH_EAST_HORDE_MAP					2651

#define WORLDSTATE_ZANGARMARSH_EAST_NEUTRAL_UI					2560
#define WORLDSTATE_ZANGARMARSH_EAST_ALLIANCE_UI					2558
#define WORLDSTATE_ZANGARMARSH_EAST_HORDE_UI					2559

#define WORLDSTATE_ZANGARMARSH_WEST_NEUTRAL_MAP					2646
#define WORLDSTATE_ZANGARMARSH_WEST_ALLIANCE_MAP				2644
#define WORLDSTATE_ZANGARMARSH_WEST_HORDE_MAP					2645

#define WORLDSTATE_ZANGARMARSH_WEST_NEUTRAL_UI					2557
#define WORLDSTATE_ZANGARMARSH_WEST_ALLIANCE_UI					2555
#define WORLDSTATE_ZANGARMARSH_WEST_HORDE_UI					2556

// capture bars
#define WORLDSTATE_ZANGARMARSH_CAPTURE_BAR_DISPLAY_WEST			2527
#define WORLDSTATE_ZANGARMARSH_CAPTURE_BAR_VALUE_WEST			2528

#define WORLDSTATE_ZANGARMARSH_CAPTURE_BAR_DISPLAY_EAST			2533
#define WORLDSTATE_ZANGARMARSH_CAPTURE_BAR_VALUE_EAST			2534

// flag

//ally
#define WORLDSTATE_ZANGARMARSH_SCOUT_READY_ALLIANCE		2655
#define WORLDSTATE_ZANGARMARSH_SCOUT_NOT_READY_ALLIANCE	2656

//horde
#define WORLDSTATE_ZANGARMARSH_SCOUT_READY_HORDE		2658
#define WORLDSTATE_ZANGARMARSH_SCOUT_NOT_READY_HORDE	2657

#define WORLDSTATE_ZANGARMARSH_CITY_NEUTRAL				2647
#define WORLDSTATE_ZANGARMARSH_CITY_ALLIANCE			2648
#define WORLDSTATE_ZANGARMARSH_CITY_HORDE				2649

/**
 * World PvP
 * Terokkar Forest
 */

// Zone ID
#define ZONE_TEROKKAR_FOREST									3519

#define WORLDSTATE_TEROKKAR_TOWER1_NEUTRAL						2681
#define WORLDSTATE_TEROKKAR_TOWER1_ALLIANCE						2683
#define WORLDSTATE_TEROKKAR_TOWER1_HORDE						2682

#define WORLDSTATE_TEROKKAR_TOWER2_NEUTRAL						2686
#define WORLDSTATE_TEROKKAR_TOWER2_ALLIANCE						2684
#define WORLDSTATE_TEROKKAR_TOWER2_HORDE						2685

#define WORLDSTATE_TEROKKAR_TOWER3_NEUTRAL						2690
#define WORLDSTATE_TEROKKAR_TOWER3_ALLIANCE						2688
#define WORLDSTATE_TEROKKAR_TOWER3_HORDE						2689

#define WORLDSTATE_TEROKKAR_TOWER4_NEUTRAL						2696
#define WORLDSTATE_TEROKKAR_TOWER4_ALLIANCE						2694
#define WORLDSTATE_TEROKKAR_TOWER4_HORDE						2695

#define WORLDSTATE_TEROKKAR_TOWER5_NEUTRAL						2693
#define WORLDSTATE_TEROKKAR_TOWER5_ALLIANCE						2691
#define WORLDSTATE_TEROKKAR_TOWER5_HORDE						2692

#define WORLDSTATE_TEROKKAR_ALLIANCE_TOWERS_CONTROLLED			2621
#define WORLDSTATE_TEROKKAR_HORDE_TOWERS_CONTROLLED				2622

#define WORLDSTATE_TEROKKAR_PVP_CAPTURE_BAR_DISPLAY				2623
#define WORLDSTATE_TEROKKAR_PVP_CAPTURE_BAR_VALUE				2625



#endif		// __WORLD_STATES_H
